[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                 DOS Unit
                        SearchRec Type Definitions

     Variables of type SearchRec are used by FindFirst and FindNext to scan
     directories.

                 Type
                    SearchRec = Record
                                   Fill : Array[1..21] of Byte;
                                   Attr : Byte;
                                   Time : LongInt;
                                   Size : LongInt;
                                   Name : String[12];
                                End;

     The information about each file is returned in SearchRec.  The Fill
     field is reserved by DOS and should never be modified.  The Attr field
     contains the file's attributes, which are constructed from the attribute
     constants.  The Time field contains the file's date and time information
     in packed format (use UnPackTime).  Size contains the file size in bytes,
     and Name contains the file name.

See Also: FindFirst FindNext UnPackTime
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson